home *** CD-ROM | disk | FTP | other *** search
- // main_init function
-
- main_init = function(mc){
- }
-
- // main_effect function
-
- main_effect = function(mc,frame){
- if (subs_done) end_effect = true;
- }
-
- // sub_init function
-
- sub_init = function(mc){
- if (!out_effect) mc._xscale = mc._alpha = 0;
- }
-
- // sub_effect function
-
- sub_effect = function(mc,frame){
- perc = frame / lastsubframe;
- if (out_effect) perc = 1 - perc;
- mc._xscale = -100 * Math.sin(perc * deg270);
- mc._alpha = perc * 100;
- if (frame == lastsubframe) mc.done=true;
- }
-
-